/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package platform;

import java.util.ArrayList;
import zorg.platform.AddressBook;

/**
 *
 * @author Tomasz Nowak
 */
public class TenorAddressBook implements AddressBook
{
	ArrayList<String> book;

	public TenorAddressBook()
	{
		book = new ArrayList<>();
	}

	@Override
	public boolean matchingNumbers( String number1, String number2 )
	{
		return number1.equals(number2);
	}

	@Override
	public boolean isInAddressBook( String phoneNumber )
	{
		return book.contains(phoneNumber);
	}
}
